/*
 * @(#)PaymentRecordBean.java 创建于 2016-05-31 10:43:51
 *
 * 版权：版权所有 Bsoft 保留所有权力。
 */
package hcn.protocol.ods.inpatient;

import ctd.util.xml.jaxb.DateTimeAdapter;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
@XmlRootElement(name = "record")
public class PaymentRecordBean implements Serializable {

    private Date payedTime;
    private String payType;
    private double payedAmount;

    @XmlElement
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    public Date getPayedTime() {
        return payedTime;
    }

    public void setPayedTime(Date payedTime) {
        this.payedTime = payedTime;
    }

    @XmlElement
    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    @XmlElement
    public double getPayedAmount() {
        return payedAmount;
    }

    public void setPayedAmount(double payedAmount) {
        this.payedAmount = payedAmount;
    }
}